package com.nuorui.module.supper.dict.domain.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 数据字典 更新表单
 *
 * @Author 1024创新实验室-主任-卓大
 * @Date 2025-03-25 22:25:04
 * @Copyright <a href="https://1024lab.net">1024创新实验室</a>
 */
@Data
public class DictUpdateForm {

    @ApiModelProperty(value = "字典id")
    @NotNull(message = "字典id 不能为空")
    private Long dictId;

    @ApiModelProperty(value = "字典名字")
    @NotBlank(message = "字典名字 不能为空")
    private String dictName;

    @ApiModelProperty(value = "字典编码")
    @NotBlank(message = "字典编码 不能为空")
    private String dictCode;

    @ApiModelProperty(value = "字典备注")
    private String remark;
}